import CustomSuccessData, { AxiosRequestConfig } from 'axios'

// 泛型接口
export interface ResponBody {
  <T>(
    url: string,
    params?: Record<string, unknown>,
    config?: AxiosRequestConfig
  ): Promise< any >
}

export type LibraryListItem = {
  icon?:string
  author?:string
  date:string
  hits:string
  image:string
  href:string
  title2:string
}
